package com.briup.estore.common.service;

import com.briup.estore.common.bean.Banner;
import com.sun.org.apache.xpath.internal.operations.Bool;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author adam
 * @date 2022/10/31
 */
public interface IBannerService {

    Page<Banner> findAll(String title, String active, int pageSize, int pageNum);

    List<Banner> findByStatus(boolean status);

    void updateActive(Long id);

    void update(List<Banner> banners);

    void save(Banner banner);

}
